<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<meta name="author" content="JFinalShop Team">
	<meta name="copyright" content="JFinalShop">
	<title>${message("business.categoryApplication.list")} - Powered By JFinalShop</title>
	<link href="${base}/favicon.ico" rel="icon">
	<link href="${base}/resources/business/css/bootstrap.css" rel="stylesheet">
	<link href="${base}/resources/business/css/bootstrap-select.css" rel="stylesheet">
	<link href="${base}/resources/business/css/ajax-bootstrap-select.css" rel="stylesheet">
	<link href="${base}/resources/business/css/font-awesome.css" rel="stylesheet">
	<link href="${base}/resources/business/css/animate.css" rel="stylesheet">
	<link href="${base}/resources/business/css/adminLTE.css" rel="stylesheet">
	<link href="${base}/resources/business/css/common.css" rel="stylesheet">
	<!--[if lt IE 9]>
		<script src="${base}/resources/business/js/html5shiv.js"></script>
		<script src="${base}/resources/business/js/respond.js"></script>
	<![endif]-->
	<script src="${base}/resources/business/js/jquery.js"></script>
	<script src="${base}/resources/business/js/bootstrap.js"></script>
	<script src="${base}/resources/business/js/bootstrap-select.js"></script>
	<script src="${base}/resources/business/js/ajax-bootstrap-select.js"></script>
	<script src="${base}/resources/business/js/velocity.js"></script>
	<script src="${base}/resources/business/js/velocity.ui.js"></script>
	<script src="${base}/resources/business/js/icheck.js"></script>
	<script src="${base}/resources/business/js/underscore.js"></script>
	<script src="${base}/resources/business/js/adminLTE.js"></script>
	<script src="${base}/resources/business/js/common.js"></script>
	
	<style>
		.purchase-items-quantity {
			width: 80px;
		}
		.production-date {
			width: 150px;
		}
		div.modal .table tbody tr td {
			vertical-align: middle;
		}
	</style>
	<script type="text/javascript">
	$().ready(function() {
	
		[#if flashMessage?has_content]
			$.alert("${flashMessage}");
		[/#if]
		
		
	});
	</script>
</head>
<body class="hold-transition sidebar-mini">
	<div class="container-fluid">
		<div class="row" style="margin-top: 10px;">
			<div class="col-xs-12">
				<form id="purchaseForm" class="form-horizontal" action="${base}/admin/unit/save" method="post">
					<input name="csrfToken" type="hidden" value="${csrfToken}">
					<div class="modal-content">
						<div class="modal-header" style="border-top: 1px solid #f4f4f4;">
							<h4 class="modal-title">新增单位</h4>
						</div>
						<div class="modal-body">
							<div class="col-xs-4">
								<div class="form-group">
									<label class="col-xs-4 control-label" for="memo">单位名称:</label>
										<div class="col-xs-8">
											<input name="unit.name" class="form-control" type="text" maxlength="200">
										</div>
									</div>
							</div>
							
						</div>
						<div style="width:33.5%;" class="modal-footer">
							<button name="unit_submit" class="btn btn-primary" type="submit">${message("business.common.ok")}</button>
							<a name="unit_return" class="btn btn-default" href="${base}/admin/unit/list">返回</a>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</body>
</html>